import base_logic
import time
import threading

class mythread (threading.Thread):
	def run (self, context):
		
		context.say("coucou")
		
class testLogic(base_logic.Base):
	"""Implements a TODO list"""
	def __init__(self, core):
		base_logic.Base.__init__(self, core)
		self.threads = {}
	def Call_demo (self, context):
		context.say("Un gros coucou ?")
		context.say("coucou @ demo")
	@threaded
	def Call_thread (self, context):
		context.say("Un thread à la mer")
		time.sleep(10)
		context.say("Blub")